VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmConfigSetup 
   BackColor       =   &H00000000&
   Caption         =   "VectorNet Bot - Configuration Wizard!"
   ClientHeight    =   3495
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   9375
   Icon            =   "frmConfigSetup.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   3495
   ScaleWidth      =   9375
   StartUpPosition =   2  'CenterScreen
   Begin VB.Frame Frame1 
      BackColor       =   &H00000000&
      Caption         =   "Setup Options"
      ForeColor       =   &H00FFFF00&
      Height          =   615
      Left            =   0
      TabIndex        =   20
      Top             =   2880
      Width           =   2535
      Begin VB.CommandButton btnCancel 
         Caption         =   "Close!"
         Height          =   255
         Left            =   120
         TabIndex        =   22
         Top             =   240
         Width           =   975
      End
      Begin VB.CommandButton btnDone 
         Caption         =   "Done"
         Enabled         =   0   'False
         Height          =   255
         Left            =   1080
         TabIndex        =   21
         Top             =   240
         Width           =   1335
      End
   End
   Begin VB.Frame panel5 
      BackColor       =   &H00000000&
      Caption         =   "Step 5: Finished!"
      ForeColor       =   &H00FFFF00&
      Height          =   3495
      Left            =   2640
      TabIndex        =   17
      Top             =   0
      Visible         =   0   'False
      Width           =   6735
      Begin VB.Label Label4 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         Caption         =   $"frmConfigSetup.frx":0CCA
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000FF&
         Height          =   1095
         Left            =   120
         TabIndex        =   18
         Top             =   840
         Width           =   6495
      End
   End
   Begin VB.Frame panel4 
      BackColor       =   &H00000000&
      Caption         =   "Step 4: Server/Port"
      ForeColor       =   &H00FFFF00&
      Height          =   3495
      Left            =   2640
      TabIndex        =   11
      Top             =   0
      Visible         =   0   'False
      Width           =   6735
      Begin VB.TextBox txtSetupPort 
         BackColor       =   &H00800000&
         ForeColor       =   &H00FFFFFF&
         Height          =   285
         Left            =   5640
         TabIndex        =   13
         Text            =   "4800"
         ToolTipText     =   "For every server on VectorNet the connection requires a port from the listening Server. Enter the port for ur Server here."
         Top             =   1440
         Width           =   735
      End
      Begin VB.ComboBox txtSetupServer 
         BackColor       =   &H00800000&
         ForeColor       =   &H00FFFFFF&
         Height          =   315
         ItemData        =   "frmConfigSetup.frx":0DAC
         Left            =   360
         List            =   "frmConfigSetup.frx":0DBF
         TabIndex        =   12
         Text            =   "VectorNet.No-Ip.org"
         ToolTipText     =   "Choose a server for which you will connect to on VectorNet. Custom Servers are allowed."
         Top             =   1440
         Width           =   5175
      End
      Begin VB.Label Label7 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         Caption         =   "Step 4: Enter a Server and port in the boxs below. this server/port will be used for your server connection to VectorNet."
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FFFFFF&
         Height          =   615
         Left            =   120
         TabIndex        =   16
         Top             =   360
         Width           =   6495
      End
      Begin VB.Label Label6 
         BackColor       =   &H00000000&
         Caption         =   "Port:"
         ForeColor       =   &H00FFFFFF&
         Height          =   255
         Left            =   5400
         TabIndex        =   15
         Top             =   1200
         Width           =   375
      End
      Begin VB.Label Label5 
         BackColor       =   &H00000000&
         Caption         =   "Server:"
         ForeColor       =   &H00FFFFFF&
         Height          =   255
         Left            =   360
         TabIndex        =   14
         Top             =   1200
         Width           =   615
      End
   End
   Begin VB.Frame panel3 
      BackColor       =   &H00000000&
      Caption         =   "Step 3: Account Password"
      ForeColor       =   &H00FFFF00&
      Height          =   3495
      Left            =   2640
      TabIndex        =   7
      Top             =   0
      Visible         =   0   'False
      Width           =   6735
      Begin VB.TextBox txtSetupPass 
         BackColor       =   &H00800000&
         ForeColor       =   &H00FFFFFF&
         Height          =   285
         Left            =   480
         TabIndex        =   8
         Top             =   1560
         Width           =   5895
      End
      Begin VB.Label Label3 
         BackColor       =   &H00000000&
         Caption         =   "Password:"
         ForeColor       =   &H00FFFFFF&
         Height          =   255
         Left            =   480
         TabIndex        =   10
         Top             =   1320
         Width           =   855
      End
      Begin VB.Label Label2 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         Caption         =   $"frmConfigSetup.frx":0E26
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FFFFFF&
         Height          =   615
         Left            =   120
         TabIndex        =   9
         Top             =   480
         Width           =   6495
      End
   End
   Begin VB.Frame panel2 
      BackColor       =   &H00000000&
      Caption         =   "Step 2: Account Username"
      ForeColor       =   &H00FFFF00&
      Height          =   3495
      Left            =   2640
      TabIndex        =   3
      Top             =   0
      Visible         =   0   'False
      Width           =   6735
      Begin VB.TextBox txtSetupUser 
         BackColor       =   &H00800000&
         ForeColor       =   &H00FFFFFF&
         Height          =   285
         Left            =   480
         TabIndex        =   4
         Top             =   1560
         Width           =   5895
      End
      Begin VB.Label name 
         BackColor       =   &H00000000&
         Caption         =   "Username:"
         ForeColor       =   &H00FFFFFF&
         Height          =   255
         Left            =   480
         TabIndex        =   6
         Top             =   1320
         Width           =   855
      End
      Begin VB.Label lbl2 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         Caption         =   $"frmConfigSetup.frx":0EDA
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FFFFFF&
         Height          =   615
         Left            =   120
         TabIndex        =   5
         Top             =   480
         Width           =   6375
      End
   End
   Begin VB.Frame panel1 
      BackColor       =   &H00000000&
      Caption         =   "Introduction to the Setup Wizard."
      ForeColor       =   &H00FFFF00&
      Height          =   3495
      Left            =   2640
      TabIndex        =   1
      Top             =   0
      Width           =   6735
      Begin VB.Label Label8 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         Caption         =   $"frmConfigSetup.frx":0F81
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000FFFF&
         Height          =   735
         Left            =   840
         TabIndex        =   19
         Top             =   1560
         Width           =   5415
      End
      Begin VB.Label Label1 
         Alignment       =   2  'Center
         BackColor       =   &H00000000&
         Caption         =   $"frmConfigSetup.frx":100C
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FFFFFF&
         Height          =   855
         Left            =   240
         TabIndex        =   2
         Top             =   600
         Width           =   6375
      End
   End
   Begin MSComctlLib.ListView lstMenu 
      Height          =   2895
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   2535
      _ExtentX        =   4471
      _ExtentY        =   5106
      View            =   3
      LabelEdit       =   1
      LabelWrap       =   0   'False
      HideSelection   =   -1  'True
      HideColumnHeaders=   -1  'True
      _Version        =   393217
      ForeColor       =   16777215
      BackColor       =   0
      BorderStyle     =   1
      Appearance      =   1
      NumItems        =   1
      BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         Object.Width           =   2540
      EndProperty
   End
End
Attribute VB_Name = "frmConfigSetup"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub btnCancel_Click()

Unload frmConfigSetup

End Sub

Private Sub btnDone_Click()

Unload Me

End Sub

Private Sub Form_Load()

lstMenu.ListItems.Add , , "Step 1"
lstMenu.ListItems.Add , , "Step 2"
lstMenu.ListItems.Add , , "Step 3"
lstMenu.ListItems.Add , , "Step 4"
lstMenu.ListItems.Add , , "Step 5"
    

End Sub

Private Sub lstMenu_Click()

    If lstMenu.SelectedItem = "Step 1" Then
        panel1.Visible = True
        panel2.Visible = False
        panel3.Visible = False
        panel4.Visible = False
        panel5.Visible = False
        btnDone.Enabled = False
    End If
    
    If lstMenu.SelectedItem = "Step 2" Then
        panel1.Visible = False
        panel2.Visible = True
        panel3.Visible = False
        panel4.Visible = False
        panel5.Visible = False
        btnDone.Enabled = False
    End If
    
    If lstMenu.SelectedItem = "Step 3" Then
        frmConfig.txtUsername.text = txtSetupUser.text
        panel1.Visible = False
        panel2.Visible = False
        panel3.Visible = True
        panel4.Visible = False
        panel5.Visible = False
        btnDone.Enabled = False
    End If
    
    If lstMenu.SelectedItem = "Step 4" Then
        frmConfig.txtPassword.text = txtSetupPass.text
        panel1.Visible = False
        panel2.Visible = False
        panel3.Visible = False
        panel4.Visible = True
        panel5.Visible = False
        btnDone.Enabled = False
    End If
    
    If lstMenu.SelectedItem = "Step 5" Then
        frmConfig.txtServer.text = txtSetupServer.text
        frmConfig.txtPort.text = txtSetupPort.text
        panel1.Visible = False
        panel2.Visible = False
        panel3.Visible = False
        panel4.Visible = False
        panel5.Visible = True
        btnDone.Enabled = True
    End If

End Sub
